export OPENSSL_INSTALL_HNP_PATH=${HNP_PUBLIC_PATH}/openssl.org/openssl_3.6

make clean

./config no-asm \
         shared \
         linux-aarch64 \
         --prefix=${OPENSSL_INSTALL_HNP_PATH} \
        

make VERBOSE=1 -j$(nproc)
make install

cp hnp.json ${OPENSSL_INSTALL_HNP_PATH}/
pushd ${OPENSSL_INSTALL_HNP_PATH}/../
    ${HNP_TOOL} pack -i ${OPENSSL_INSTALL_HNP_PATH} -o ${ARCHIVE_PATH}/
    tar -zvcf ${ARCHIVE_PATH}/ohos_openssl_3.6.tar.gz openssl_3.6/
popd
